package com.ly.system.auth;

import org.springframework.security.web.session.SessionInformationExpiredEvent;
import org.springframework.security.web.session.SessionInformationExpiredStrategy;
import org.springframework.stereotype.Service;

import javax.servlet.ServletException;
import java.io.IOException;

@Service("mySessionInformationExpiredStrategy")
public class MySessionInformationExpiredStrategy extends JsonAuthentication implements SessionInformationExpiredStrategy {//处理账号被挤下线处理逻辑
    @Override
    public void onExpiredSessionDetected(SessionInformationExpiredEvent sessionInformationExpiredEvent) throws IOException, ServletException {

    }
}
